package com.aaa.book_mall.entity;

import java.io.Serializable;

/**
 * fileName:Shoop
 * description:
 * author:付亚星
 * createTime:2021/2/21 9:20
 * version:1.0.0
 */
public class Shop implements Serializable {
    private Integer id;
    private Integer uid;
    private Integer bookid;
    private String bookname;
    private Integer bookcount;
    private Integer price;
    private Integer bookprice;



    public Shop() {
    }

    public Shop( Integer uid, String bookname, Integer bookcount, Integer price, Integer bookprice) {
        this.uid = uid;
        this.bookname = bookname;
        this.bookcount = bookcount;
        this.price = price;
        this.bookprice = bookprice;
    }

    public Shop(Integer id, Integer uid, Integer bookid, Integer bookcount, Integer price, Integer bookprice) {
        this.id = id;
        this.uid = uid;
        this.bookid = bookid;
        this.bookcount = bookcount;
        this.price = price;
        this.bookprice = bookprice;


    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUid() {
        return uid;
    }

    public void setUid(Integer uid) {
        this.uid = uid;
    }

    public Integer getBookid() {
        return bookid;
    }

    public void setBookid(Integer bookid) {
        this.bookid = bookid;
    }

    public String getBookname() {
        return bookname;
    }

    public void setBookname(String bookname) {
        this.bookname = bookname;
    }

    public Integer getBookcount() {
        return bookcount;
    }

    public void setBookcount(Integer bookcount) {
        this.bookcount = bookcount;
    }

    public Integer getPrice() {
        return price;
    }

    public void setPrice(Integer price) {
        this.price = price;
    }

    public Integer getBookprice() {
        return bookprice;
    }

    public void setBookprice(Integer bookprice) {
        this.bookprice = bookprice;
    }

    @Override
    public String toString() {
        return "Shop{" +
                "id=" + id +
                ", uid=" + uid +
                ", bookid=" + bookid +
                ", bookname='" + bookname + '\'' +
                ", bookcount=" + bookcount +
                ", price=" + price +
                ", bookprice=" + bookprice +
                '}';
    }
}
